#ifndef TRIANGLEDATA_H
#define TRIANGLEDATA_H

#include "ShapeData.h"

class CTriangleData : public CShapeData
{
public:
    CTriangleData();
    CTriangleData(const double &dStartPosX, const double &dStartPosY, const double &dWidth, const double &dHeight);
    ~CTriangleData();
    inline void SetStartPosX(const double &dStartPosX) {m_dStartPosX = dStartPosX;}
    inline void SetStartPosY(const double &dStartPosY) {m_dStartPosY = dStartPosY;}
    inline void SetWidth(const double &dWidth) {m_dWidth = dWidth;}
    inline void SetHeight(const double &dHeight) {m_dHeight = dHeight;}

    inline const double &GetStartPosX() const {return m_dStartPosX;}
    inline const double &GetStartPosY() const {return m_dStartPosY;}
    inline const double &GetWidth() const {return m_dWidth;}
    inline const double &GetHeight() const {return m_dHeight;}


private:
    double m_dStartPosX;
    double m_dStartPosY;
    double m_dWidth;
    double m_dHeight;

};



#endif // TRIANGLEDATA_H
